package com.nt.test.service;

import com.nt.test.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    int createUser(User user);

    User selectUser(User user);

    List<User> findByUsername(String username);
}
